package io.github.wslxm.springbootplus2.manage.test.model.query;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Range;
import org.hibernate.validator.constraints.Length;

import io.github.wslxm.springbootplus2.core.base.model.BaseQuery;

/**
 * base--gc--自关联测试表 (模拟菜单) Query
 *
 * <p>
 * ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
 * </p>

 * @author ws
 * @email 1720696548@qq.com
 * @date 2023-08-28 15:16:59
 */
@Data
@ToString(callSuper = true)
@Schema(name = "GcMenuQuery 对象", description = "base--gc--自关联测试表 (模拟菜单)")
public class GcMenuQuery extends BaseQuery {

    private static final long serialVersionUID = -1696059286050533376L;
    
    @Schema(title = "指定父id" )
    @Length(min=0, max=32)
    private String pid;

    @Schema(title = "菜单名" )
    @Length(min=0, max=32)
    private String name;

    @Schema(title = "禁用" )
    @Range(min=0L, max=9L)
    private Integer disable;

}

